package com.eatme.web.sys.workflow.activiti.delegate.listener;

import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 任务监听器
 */
public class ActivitiVariableAssigneeListener implements TaskListener {
    private static final Logger LOG = LoggerFactory.getLogger(ActivitiVariableAssigneeListener.class);
    @Override
    public void notify(DelegateTask delegateTask) {
        LOG.info("执行人:{}",delegateTask.getAssignee());
    }
}
